package com.yykj.drup.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author zeng
 * @Date 2022/3/8
 */
@SpringBootApplication
@EnableScheduling
@EnableDiscoveryClient
@ComponentScan(basePackages = { "com.yykj.common", "com.yykj.drup.server" })
@EnableFeignClients(basePackages = {"com.yykj"})
public class DrugServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DrugServerApplication.class, args);
    }
}
